package com.diver.flinkdemo.dataSoucer;

import java.io.Serializable;

/**
 * @author LuJW
 * @date 2023/3/26 10:52
 */

public class MyDataSource implements Serializable {

    /**
     * 数据源地址
     */
    private String url;
    /**
     * 数据源驱动
     */
    private String driver;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 连接池最大活跃数
     */
    private Integer maxActive;
    /**
     * 连接池初始化数量
     */
    private Integer initialSize;
    /**
     * 连接池最小数据
     */
    private Integer minIdle;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getMaxActive() {
        return maxActive;
    }

    public void setMaxActive(Integer maxActive) {
        this.maxActive = maxActive;
    }

    public Integer getInitialSize() {
        return initialSize;
    }

    public void setInitialSize(Integer initialSize) {
        this.initialSize = initialSize;
    }

    public Integer getMinIdle() {
        return minIdle;
    }

    public void setMinIdle(Integer minIdle) {
        this.minIdle = minIdle;
    }
}
